<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>样式规则</title>
</head>
<style>
    div {
        text-align: center; /* left center right */
    }
    p {
        /* 1em表示缩进一个字 */
        text-indent: 2em;
        text-decoration: none;
    }
    .img {
        height: 80px;
        width: 80px;
        background-image: url('https://yanxuan-item.nosdn.127.net/95bbd97aeab38e5db9113d7266412f68.jpg?type=webp&quality=95&thumbnail=265x265&imageView');
        background-size: 100% 100%;
    }
</style>
<body>
    <div>hello world</div>
    <p>实训真轻松实训真轻松实训真轻松实训真轻松实训真轻松实训真轻松实训真轻松实训真轻松实训真轻松实训真轻松实训真轻松实训真轻松实训真轻松</p>
    <div class="img"></div>
</body>
</html>